package com.jelly.config.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * <h4>功能:【扩展shiro用户类】【创建人：QIAOLIANG】</h4>
 *
 * @时间:2018/7/3 0003 14:06
 * @备注:<h4></h4>
 */
public class ShiroToken extends UsernamePasswordToken implements java.io.Serializable  {

    private static final long serialVersionUID = 1L;

    /** 登录密码[字符串类型] 因为父类是char[] ] **/
    private String passwords;

    public ShiroToken(String username, String pswd) {

        super(username, pswd);
        this.passwords = pswd;
    }

    public void setPasswords(String password) {
        this.passwords = password;
    }

    public String getPasswords() {

        return passwords;
    }

}